﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<JumJob.Models.Pay>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Hacer pago
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Hacer pago</h2>
    <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>

        <fieldset>
        <%:Html.Hidden("job_id",Request.QueryString["job_id"]) %>
            <legend>Datos de pago</legend>           
                  
            <div class="editor-label">
               <label>Cuenta a debitar</label>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.debit_account) %>
                <%: Html.ValidationMessageFor(model => model.debit_account) %>
            </div>            
            <div class="editor-label">
               <label>Cuenta a acreditar</label>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.credit_account) %>
                <%: Html.ValidationMessageFor(model => model.credit_account) %>
            </div>
            
            <div class="editor-label">
               <label>Monto</label>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.amount) %>
                <%: Html.ValidationMessageFor(model => model.amount) %>
            </div>
            <div class="editor-label">
               <label>Tipo de cuenta</label>
            </div>
            <div class="editor-label">
               <select id="account_type" name="account_type">
                <option value="JumBank">JumBank</option>
                <option value="TelefonoMonedero">Telefono Mondero</option>
               </select>
            </div>
            <p>
                <input type="submit" value="Realiza Pago" />
            </p>
        </fieldset>

    <% } %>

  

</asp:Content>

